# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=kdeedu-data
pkgver=22.04.3
pkgrel=0
arch="noarch !armhf" # armhf blocked by extra-cmake-modules
url="https://kde.org/applications/education"
pkgdesc="Common data for KDE Edu applications"
license="GPL-2.0-only"
makedepends="extra-cmake-modules samurai"
source="https://download.kde.org/stable/release-service/$pkgver/src/kdeedu-data-$pkgver.tar.xz"
options="!check" # No code to test"

build() {
	cmake -B build -G Ninja \
		-DCMAKE_BUILD_TYPE=RelWithDebInfo \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --build build --target install
}

sha512sums="
3d28272ca4dcfff52aa83bab5a99f1017687749036bcbb395696ab91c12824dca80448b7514ffa5219c2d06cb5efa452c38fb5254a09968651e6a6e78e2c347c  kdeedu-data-22.04.3.tar.xz
"
